
public class ProcessNode {
	private Process process;
	private ProcessNode next;
	
	//Create new ProcessNode
	public ProcessNode(Process p)
	{
	    	process = p;
	    	ProcessNode pn = null;
	    	next = pn;				
	}

	//Get process
	public Process getProcess()
	{
		return process;
	}
	
	//Get next process
	public ProcessNode getNext()
	{
		return next;
	}
	
	//Set process
	public void setProcess(Process newProcess)
	{
		process = newProcess;
	}
	
	//Set process's next node
	public void setNext(ProcessNode newNext)
	{
		next = newNext;
	}
}
